package Extenddemo;

public class dog {
    String name;
    int age;
    float weight;
    String color;
    public void bark(){
        System.out.println(name+"正在叫....");
    }
    public void eat(){
        System.out.println(name+"正在吃饭....");
    }
}
